In computer science, a buffer is a region of a physical memory storage used to temporarily enable data from continuing while it is being moved from one place to another. Typically, the data is stored in a buffer as it is retrieved from an input device (such as a mouse) or just before it is sent to an output device (such as speakers).